Dynomotion

Group: DynoMotion Message: 14886 From: Colin Fera Date: 6/21/2017
Subject: Kmotion cnc jog arrows not working
The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone
Group: DynoMotion Message: 14887 From: Tom Kerekes Date: 6/21/2017
Subject: Re: Kmotion cnc jog arrows not working

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone


Group: DynoMotion Message: 14888 From: Colin Fera Date: 6/21/2017
Subject: Re: Kmotion cnc jog arrows not working
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MODE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LINEAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MODE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LINEAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MODE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn;
ch2->LimitSwitchPosBit=zlim_up;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LINEAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone



  @@attachment@@
Group: DynoMotion Message: 14889 From: Tom Kerekes Date: 6/21/2017
Subject: Re: Kmotion cnc jog arrows not working [1 Attachment]

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MODE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LINEAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MODE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LINEAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MODE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn;
ch2->LimitSwitchPosBit=zlim_up;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LINEAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone




Group: DynoMotion Message: 14890 From: Colin Fera Date: 6/22/2017
Subject: Re: Kmotion cnc jog arrows not working
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MODE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LINEAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MODE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LINEAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MODE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn;
ch2->LimitSwitchPosBit=zlim_up;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LINEAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone




Group: DynoMotion Message: 14893 From: Colin Fera Date: 6/26/2017
Subject: Re: Kmotion cnc jog arrows not working
Hi TK,

I must be doing something wrong with this new version (4.34i).

I can use the console to send move and jog commands and hit full speed on all axis's

I went through and installed from scratch and tried to run some basic G codes (G0 etc) and I get unrecognized G code.

Do I need to install something from the patches directory?

Colin

On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...> wrote:
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MO DE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LIN EAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MO DE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LIN EAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MO DE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn ;
ch2->LimitSwitchPosBit=zlim_up ;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LIN EAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone





Group: DynoMotion Message: 14894 From: TK A2 Date: 6/26/2017
Subject: Re: Kmotion cnc jog arrows not working
Hi Colin. 

Do you have your Coordinate System configured properly and all your axes enabled?  You might post your Init file for us to look at. 

Regards

TK

On Jun 26, 2017, at 7:10 AM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I must be doing something wrong with this new version (4.34i).

I can use the console to send move and jog commands and hit full speed on all axis's

I went through and installed from scratch and tried to run some basic G codes (G0 etc) and I get unrecognized G code.

Do I need to install something from the patches directory?

Colin

On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...> wrote:
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MO DE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LIN EAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MO DE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LIN EAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MO DE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn ;
ch2->LimitSwitchPosBit=zlim_up ;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LIN EAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone





Group: DynoMotion Message: 14895 From: Colin Fera Date: 6/26/2017
Subject: Re: Kmotion cnc jog arrows not working
Hi TK,

I think so.

See attached

thanks

On Mon, Jun 26, 2017 at 1:41 AM, TK A2 tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Colin. 

Do you have your Coordinate System configured properly and all your axes enabled?  You might post your Init file for us to look at. 

Regards

TK

On Jun 26, 2017, at 7:10 AM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I must be doing something wrong with this new version (4.34i).

I can use the console to send move and jog commands and hit full speed on all axis's

I went through and installed from scratch and tried to run some basic G codes (G0 etc) and I get unrecognized G code.

Do I need to install something from the patches directory?

Colin

On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...> wrote:
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MO DE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LIN EAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MO DE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LIN EAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MO DE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn ;
ch2->LimitSwitchPosBit=zlim_up ;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LIN EAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone






  @@attachment@@
Group: DynoMotion Message: 14896 From: TK A2 Date: 6/26/2017
Subject: Re: Kmotion cnc jog arrows not working [2 Attachments]
Hi Colin,

Your code is somewhat complex. It only configured in certain cases.  Did you try any trouble shooting?  Like observe the Console Screen for your messages?  Check the Axis Screen to see which Axes are enabled?  Read the Coordinate System Definition from the Console Screen?

Regards

TK

On Jun 26, 2017, at 2:16 PM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I think so.

See attached

thanks

On Mon, Jun 26, 2017 at 1:41 AM, TK A2 tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Colin. 

Do you have your Coordinate System configured properly and all your axes enabled?  You might post your Init file for us to look at. 

Regards

TK

On Jun 26, 2017, at 7:10 AM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I must be doing something wrong with this new version (4.34i).

I can use the console to send move and jog commands and hit full speed on all axis's

I went through and installed from scratch and tried to run some basic G codes (G0 etc) and I get unrecognized G code.

Do I need to install something from the patches directory?

Colin

On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...> wrote:
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MO DE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LIN EAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MO DE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LIN EAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MO DE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn ;
ch2->LimitSwitchPosBit=zlim_up ;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LIN EAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone






Group: DynoMotion Message: 14897 From: Colin Fera Date: 6/26/2017
Subject: Re: Kmotion cnc jog arrows not working
TK, I think maybe I am re configuring the axis's too often. I am only intending to do it once with every init press and again if limits are disabled I will go through my code and fix things.

Thanks,
Colin

Sent from my iPhone

On Jun 26, 2017, at 2:51 PM, TK A2 tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Colin,

Your code is somewhat complex. It only configured in certain cases.  Did you try any trouble shooting?  Like observe the Console Screen for your messages?  Check the Axis Screen to see which Axes are enabled?  Read the Coordinate System Definition from the Console Screen?

Regards

TK

On Jun 26, 2017, at 2:16 PM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I think so.

See attached

thanks

On Mon, Jun 26, 2017 at 1:41 AM, TK A2 tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Colin. 

Do you have your Coordinate System configured properly and all your axes enabled?  You might post your Init file for us to look at. 

Regards

TK

On Jun 26, 2017, at 7:10 AM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I must be doing something wrong with this new version (4.34i).

I can use the console to send move and jog commands and hit full speed on all axis's

I went through and installed from scratch and tried to run some basic G codes (G0 etc) and I get unrecognized G code.

Do I need to install something from the patches directory?

Colin

On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...> wrote:
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MO DE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LIN EAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MO DE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LIN EAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MO DE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn ;
ch2->LimitSwitchPosBit=zlim_up ;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LIN EAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone






Group: DynoMotion Message: 14898 From: Colin Fera Date: 6/27/2017
Subject: Re: Kmotion cnc jog arrows not working
Hi TK, cleaned up the code then started wondering why th init would affect thee kmotion cnc simulator

see attached screenshots

On Mon, Jun 26, 2017 at 4:32 PM, Colin Fera <colin.fera@...> wrote:
TK, I think maybe I am re configuring the axis's too often. I am only intending to do it once with every init press and again if limits are disabled I will go through my code and fix things.

Thanks,
Colin

Sent from my iPhone

On Jun 26, 2017, at 2:51 PM, TK A2 tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Colin,

Your code is somewhat complex. It only configured in certain cases.  Did you try any trouble shooting?  Like observe the Console Screen for your messages?  Check the Axis Screen to see which Axes are enabled?  Read the Coordinate System Definition from the Console Screen?

Regards

TK

On Jun 26, 2017, at 2:16 PM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I think so.

See attached

thanks

On Mon, Jun 26, 2017 at 1:41 AM, TK A2 tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Colin. 

Do you have your Coordinate System configured properly and all your axes enabled?  You might post your Init file for us to look at. 

Regards

TK

On Jun 26, 2017, at 7:10 AM, Colin Fera colin.fera@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi TK,

I must be doing something wrong with this new version (4.34i).

I can use the console to send move and jog commands and hit full speed on all axis's

I went through and installed from scratch and tried to run some basic G codes (G0 etc) and I get unrecognized G code.

Do I need to install something from the patches directory?

Colin

On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...> wrote:
Hi, I will do some more experiments tonight. It has been working well with these settings for months. 

Answers: brushless servos, 8000 steps per rev, did not get to full speed with jog commands but I will try larger jogs tonight

Thanks

Sent from my iPhone

On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hmmm.   Those settings seem to work ok for me.   Although with our KStep system (16X microstepping) it Jogs the motors at 3429 RPM.  Under any load I'm sure they would stall. 

What type of Drivers do you have?  Servos?  Steppers?  Counts per rev?

Could you do some trouble shooting?  Such as lower Velocities, Accelerations, Jerks.

When you say "Step" Jog mode is working, are the Steps large enough to reach full speed?

Rapids work at that speed?

Could you describe more clearly what happens by observing DROs, Motors, Axis Screen?

Regards

TK


On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 
Hi TK,

Thanks for the reply,

Init settings are below, screenshot is attached.

Thanks,
Colin

#define x 0
#define y 1
#define z 2

// limits
#define maxy 4*130000
#define miny 0
#define maxz 0
#define minz 4*-80000
#define maxx 4*180000
#define minx 0
//lim switches
#define estop 136
#define zlim_dn 142
#define zlim_up 143
#define xlim 141
#define ylim 140

DefineCoordSystem(x,y,z,-1);
FPGA(STEP_PULSE_LENGTH_ADD)= 32  ;  
 
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MO DE;
ch0->Vel=4*60000;
ch0->Accel=4*120000;
ch0->Jerk= 4*1200000;
ch0->P=0;
//ch0->I=0.0001;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=300;
ch0->MaxErr=256;
ch0->MaxOutput=300;
ch0->DeadBandGain=0;
ch0->DeadBandRange=2;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=20;
ch0->OutputChan1=1;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x11f;
ch0->LimitSwitchNegBit=xlim;
ch0->LimitSwitchPosBit=xlim;
ch0->SoftLimitPos=maxx;
ch0->SoftLimitNeg=minx;
ch0->InputGain0=-1;
ch0->InputGain1=0;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_LIN EAR;
ch0->BacklashAmount=33.5;
ch0->BacklashRate=2000;
ch0->invDistPerCycle=0;
ch0->Lead=0;
ch0->MaxFollowingError=256;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.000768788;
ch0->iir[2].B1=0.00153758;
ch0->iir[2].B2=0.000768788;
ch0->iir[2].A1=1.92076;
ch0->iir[2].A2=-0.923833;
 
ch1->InputMode=ENCODER_MODE;
ch1->OutputMode=CL_STEP_DIR_MO DE;
ch1->Vel=270000;
ch1->Accel=540000;
ch1->Jerk= 5400000;
ch1->P=0;
ch1->I=0.0001;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=300;
ch1->MaxErr=256;
ch1->MaxOutput=300;
ch1->DeadBandGain=0;
ch1->DeadBandRange=2;
ch1->InputChan0=3;
ch1->InputChan1=0;
ch1->OutputChan0=21;
ch1->OutputChan1=0;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x11f;
ch1->LimitSwitchNegBit=ylim;
ch1->LimitSwitchPosBit=ylim;
ch1->SoftLimitPos=maxy;
ch1->SoftLimitNeg=miny;
ch1->InputGain0=-1;
ch1->InputGain1=0;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_LIN EAR;
ch1->BacklashAmount=61;
ch1->BacklashRate=2000;
ch1->invDistPerCycle=0;
ch1->Lead=0;
ch1->MaxFollowingError=256;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;
ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=0.000769;
ch1->iir[2].B1=0.001538;
ch1->iir[2].B2=0.000769;
ch1->iir[2].A1=1.92081;
ch1->iir[2].A2=-0.923885;


ch2->InputMode=ENCODER_MODE;
ch2->OutputMode=CL_STEP_DIR_MO DE;
ch2->Vel=  400000;
ch2->Accel=800000;
ch2->Jerk= 8000000;
ch2->P=0;
//ch2->I=0.0001;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=300;
ch2->MaxErr=256;
ch2->MaxOutput=300;
ch2->DeadBandGain=0;
ch2->DeadBandRange=2;
ch2->InputChan0=2;
ch2->InputChan1=0;
ch2->OutputChan0=22;
ch2->OutputChan1=0;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x11f;
ch2->LimitSwitchNegBit=zlim_dn ;
ch2->LimitSwitchPosBit=zlim_up ;
ch2->SoftLimitPos=maxz;
ch2->SoftLimitNeg=minz;
ch2->InputGain0=1;
ch2->InputGain1=0;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=-1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_LIN EAR;
ch2->BacklashAmount=61;
ch2->BacklashRate=2000;
ch2->invDistPerCycle=0;
ch2->Lead=0;
ch2->MaxFollowingError=256;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;
ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;
ch2->iir[2].B0=0.056495;
ch2->iir[2].B1=0.112989;
ch2->iir[2].B2=0.056495;
ch2->iir[2].A1=1.22565;
ch2->iir[2].A2=-0.451634;

On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Please post a screen shot of your Trajectory Planner Settings and your Initialization C Program so we can see your Jog Velocities, Slow Jog %, KFLOP Accelerations and Jerk settings.

What Versions were you upgrading from and to?

Regards

TK


On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion] wrote:
 

The jog arrows on kmotion cnc dont work like it did before updating to the latest Beta.

Specifically the jog settings are either really slow or perhaps functioning more like a single step command

I updated like I have previously done by copying the configuration file across. The single step button that you can set for various step sizes does work

Any ideas?

Sent from my iPhone







  @@attachment@@
Group: DynoMotion Message: 14901 From: Colin Fera Date: 7/1/2017
Subject: Re: Kmotion cnc jog arrows not working [2 Attachments]
Hi TK,

I figured out a few things. First I shouldn't have had the settings
for ABC axis's at 0. Going with the default settings for ABC and UV
solved the gcode error.

Second the Jog arrows don't get along with my touch screen.

With those items addressed I was able to process G code and jog using
the arrows however
with the Jog arrows I eventually got a look ahead buffer error
followed by a sudden violent movement. I ended up going back to 4.33
and re configuring kmotion CNC with my new init and and the machine is
now totally functional. I may reinstall 4.34i and try again.

I would really like (in kmotion CNC)
1. A status display for digital inputs.
2. Stateful buttons (set a bit when pushed, then provide some
indication of the state).
3. A way to display the console.














On 6/27/17, Colin Fera colin.fera@... [DynoMotion]
<DynoMotion@yahoogroups.com> wrote:
> Hi TK, cleaned up the code then started wondering why th init would affect
> thee kmotion cnc simulator
>
> see attached screenshots
>
> On Mon, Jun 26, 2017 at 4:32 PM, Colin Fera <colin.fera@...> wrote:
>
>> TK, I think maybe I am re configuring the axis's too often. I am only
>> intending to do it once with every init press and again if limits are
>> disabled I will go through my code and fix things.
>>
>> Thanks,
>> Colin
>>
>> Sent from my iPhone
>>
>> On Jun 26, 2017, at 2:51 PM, TK A2 tk@... [DynoMotion] <
>> DynoMotion@yahoogroups.com> wrote:
>>
>>
>>
>> Hi Colin,
>>
>> Your code is somewhat complex. It only configured in certain cases. Did
>> you try any trouble shooting? Like observe the Console Screen for your
>> messages? Check the Axis Screen to see which Axes are enabled? Read the
>> Coordinate System Definition from the Console Screen?
>>
>> Regards
>>
>> TK
>>
>> On Jun 26, 2017, at 2:16 PM, Colin Fera colin.fera@... [DynoMotion]
>> <DynoMotion@yahoogroups.com> wrote:
>>
>>
>>
>> Hi TK,
>>
>> I think so.
>>
>> See attached
>>
>> thanks
>>
>> On Mon, Jun 26, 2017 at 1:41 AM, TK A2 tk@... [DynoMotion] <
>> DynoMotion@yahoogroups.com> wrote:
>>
>>>
>>>
>>> Hi Colin.
>>>
>>> Do you have your Coordinate System configured properly and all your axes
>>> enabled? You might post your Init file for us to look at.
>>>
>>> Regards
>>>
>>> TK
>>>
>>> On Jun 26, 2017, at 7:10 AM, Colin Fera colin.fera@...
>>> [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
>>>
>>>
>>>
>>> Hi TK,
>>>
>>> I must be doing something wrong with this new version (4.34i).
>>>
>>> I can use the console to send move and jog commands and hit full speed
>>> on
>>> all axis's
>>>
>>> I went through and installed from scratch and tried to run some basic G
>>> codes (G0 etc) and I get unrecognized G code.
>>>
>>> Do I need to install something from the patches directory?
>>>
>>> Colin
>>>
>>> On Thu, Jun 22, 2017 at 7:42 AM, Colin Fera <colin.fera@...>
>>> wrote:
>>>
>>>> Hi, I will do some more experiments tonight. It has been working well
>>>> with these settings for months.
>>>>
>>>> Answers: brushless servos, 8000 steps per rev, did not get to full
>>>> speed
>>>> with jog commands but I will try larger jogs tonight
>>>>
>>>> Thanks
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Jun 21, 2017, at 11:24 PM, Tom Kerekes tk@...
>>>> [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
>>>>
>>>>
>>>>
>>>> Hmmm. Those settings seem to work ok for me. Although with our
>>>> KStep
>>>> system (16X microstepping) it Jogs the motors at 3429 RPM. Under any
>>>> load
>>>> I'm sure they would stall.
>>>>
>>>> What type of Drivers do you have? Servos? Steppers? Counts per rev?
>>>>
>>>> Could you do some trouble shooting? Such as lower Velocities,
>>>> Accelerations, Jerks.
>>>>
>>>> When you say "Step" Jog mode is working, are the Steps large enough to
>>>> reach full speed?
>>>>
>>>> Rapids work at that speed?
>>>>
>>>> Could you describe more clearly what happens by observing DROs, Motors,
>>>> Axis Screen?
>>>>
>>>> Regards
>>>>
>>>> TK
>>>>
>>>> On 6/21/2017 10:32 PM, Colin Fera colin.fera@... [DynoMotion]
>>>> wrote:
>>>>
>>>>
>>>> Hi TK,
>>>>
>>>> Thanks for the reply,
>>>>
>>>> Init settings are below, screenshot is attached.
>>>>
>>>> Thanks,
>>>> Colin
>>>>
>>>> #define x 0
>>>> #define y 1
>>>> #define z 2
>>>>
>>>> // limits
>>>> #define maxy 4*130000
>>>> #define miny 0
>>>> #define maxz 0
>>>> #define minz 4*-80000
>>>> #define maxx 4*180000
>>>> #define minx 0
>>>> //lim switches
>>>> #define estop 136
>>>> #define zlim_dn 142
>>>> #define zlim_up 143
>>>> #define xlim 141
>>>> #define ylim 140
>>>>
>>>> DefineCoordSystem(x,y,z,-1);
>>>> FPGA(STEP_PULSE_LENGTH_ADD)= 32 ;
>>>>
>>>> ch0->InputMode=ENCODER_MODE;
>>>> ch0->OutputMode=CL_STEP_DIR_MODE;
>>>> ch0->Vel=4*60000;
>>>> ch0->Accel=4*120000;
>>>> ch0->Jerk= 4*1200000;
>>>> ch0->P=0;
>>>> //ch0->I=0.0001;
>>>> ch0->I=0;
>>>> ch0->D=0;
>>>> ch0->FFAccel=0;
>>>> ch0->FFVel=0;
>>>> ch0->MaxI=300;
>>>> ch0->MaxErr=256;
>>>> ch0->MaxOutput=300;
>>>> ch0->DeadBandGain=0;
>>>> ch0->DeadBandRange=2;
>>>> ch0->InputChan0=0;
>>>> ch0->InputChan1=0;
>>>> ch0->OutputChan0=20;
>>>> ch0->OutputChan1=1;
>>>> ch0->MasterAxis=-1;
>>>> ch0->LimitSwitchOptions=0x11f;
>>>> ch0->LimitSwitchNegBit=xlim;
>>>> ch0->LimitSwitchPosBit=xlim;
>>>> ch0->SoftLimitPos=maxx;
>>>> ch0->SoftLimitNeg=minx;
>>>> ch0->InputGain0=-1;
>>>> ch0->InputGain1=0;
>>>> ch0->InputOffset0=0;
>>>> ch0->InputOffset1=0;
>>>> ch0->OutputGain=1;
>>>> ch0->OutputOffset=0;
>>>> ch0->SlaveGain=1;
>>>> ch0->BacklashMode=BACKLASH_LINEAR;
>>>> ch0->BacklashAmount=33.5;
>>>> ch0->BacklashRate=2000;
>>>> ch0->invDistPerCycle=0;
>>>> ch0->Lead=0;
>>>> ch0->MaxFollowingError=256;
>>>> ch0->StepperAmplitude=20;
>>>>
>>>> ch0->iir[0].B0=1;
>>>> ch0->iir[0].B1=0;
>>>> ch0->iir[0].B2=0;
>>>> ch0->iir[0].A1=0;
>>>> ch0->iir[0].A2=0;
>>>>
>>>> ch0->iir[1].B0=1;
>>>> ch0->iir[1].B1=0;
>>>> ch0->iir[1].B2=0;
>>>> ch0->iir[1].A1=0;
>>>> ch0->iir[1].A2=0;
>>>>
>>>> ch0->iir[2].B0=0.000768788;
>>>> ch0->iir[2].B1=0.00153758;
>>>> ch0->iir[2].B2=0.000768788;
>>>> ch0->iir[2].A1=1.92076;
>>>> ch0->iir[2].A2=-0.923833;
>>>>
>>>> ch1->InputMode=ENCODER_MODE;
>>>> ch1->OutputMode=CL_STEP_DIR_MODE;
>>>> ch1->Vel=270000;
>>>> ch1->Accel=540000;
>>>> ch1->Jerk= 5400000;
>>>> ch1->P=0;
>>>> ch1->I=0.0001;
>>>> ch1->D=0;
>>>> ch1->FFAccel=0;
>>>> ch1->FFVel=0;
>>>> ch1->MaxI=300;
>>>> ch1->MaxErr=256;
>>>> ch1->MaxOutput=300;
>>>> ch1->DeadBandGain=0;
>>>> ch1->DeadBandRange=2;
>>>> ch1->InputChan0=3;
>>>> ch1->InputChan1=0;
>>>> ch1->OutputChan0=21;
>>>> ch1->OutputChan1=0;
>>>> ch1->MasterAxis=-1;
>>>> ch1->LimitSwitchOptions=0x11f;
>>>> ch1->LimitSwitchNegBit=ylim;
>>>> ch1->LimitSwitchPosBit=ylim;
>>>> ch1->SoftLimitPos=maxy;
>>>> ch1->SoftLimitNeg=miny;
>>>> ch1->InputGain0=-1;
>>>> ch1->InputGain1=0;
>>>> ch1->InputOffset0=0;
>>>> ch1->InputOffset1=0;
>>>> ch1->OutputGain=1;
>>>> ch1->OutputOffset=0;
>>>> ch1->SlaveGain=1;
>>>> ch1->BacklashMode=BACKLASH_LINEAR;
>>>> ch1->BacklashAmount=61;
>>>> ch1->BacklashRate=2000;
>>>> ch1->invDistPerCycle=0;
>>>> ch1->Lead=0;
>>>> ch1->MaxFollowingError=256;
>>>> ch1->StepperAmplitude=20;
>>>>
>>>> ch1->iir[0].B0=1;
>>>> ch1->iir[0].B1=0;
>>>> ch1->iir[0].B2=0;
>>>> ch1->iir[0].A1=0;
>>>> ch1->iir[0].A2=0;
>>>> ch1->iir[1].B0=1;
>>>> ch1->iir[1].B1=0;
>>>> ch1->iir[1].B2=0;
>>>> ch1->iir[1].A1=0;
>>>> ch1->iir[1].A2=0;
>>>>
>>>> ch1->iir[2].B0=0.000769;
>>>> ch1->iir[2].B1=0.001538;
>>>> ch1->iir[2].B2=0.000769;
>>>> ch1->iir[2].A1=1.92081;
>>>> ch1->iir[2].A2=-0.923885;
>>>>
>>>>
>>>> ch2->InputMode=ENCODER_MODE;
>>>> ch2->OutputMode=CL_STEP_DIR_MODE;
>>>> ch2->Vel= 400000;
>>>> ch2->Accel=800000;
>>>> ch2->Jerk= 8000000;
>>>> ch2->P=0;
>>>> //ch2->I=0.0001;
>>>> ch2->I=0;
>>>> ch2->D=0;
>>>> ch2->FFAccel=0;
>>>> ch2->FFVel=0;
>>>> ch2->MaxI=300;
>>>> ch2->MaxErr=256;
>>>> ch2->MaxOutput=300;
>>>> ch2->DeadBandGain=0;
>>>> ch2->DeadBandRange=2;
>>>> ch2->InputChan0=2;
>>>> ch2->InputChan1=0;
>>>> ch2->OutputChan0=22;
>>>> ch2->OutputChan1=0;
>>>> ch2->MasterAxis=-1;
>>>> ch2->LimitSwitchOptions=0x11f;
>>>> ch2->LimitSwitchNegBit=zlim_dn;
>>>> ch2->LimitSwitchPosBit=zlim_up;
>>>> ch2->SoftLimitPos=maxz;
>>>> ch2->SoftLimitNeg=minz;
>>>> ch2->InputGain0=1;
>>>> ch2->InputGain1=0;
>>>> ch2->InputOffset0=0;
>>>> ch2->InputOffset1=0;
>>>> ch2->OutputGain=-1;
>>>> ch2->OutputOffset=0;
>>>> ch2->SlaveGain=1;
>>>> ch2->BacklashMode=BACKLASH_LINEAR;
>>>> ch2->BacklashAmount=61;
>>>> ch2->BacklashRate=2000;
>>>> ch2->invDistPerCycle=0;
>>>> ch2->Lead=0;
>>>> ch2->MaxFollowingError=256;
>>>> ch2->StepperAmplitude=20;
>>>>
>>>> ch2->iir[0].B0=1;
>>>> ch2->iir[0].B1=0;
>>>> ch2->iir[0].B2=0;
>>>> ch2->iir[0].A1=0;
>>>> ch2->iir[0].A2=0;
>>>> ch2->iir[1].B0=1;
>>>> ch2->iir[1].B1=0;
>>>> ch2->iir[1].B2=0;
>>>> ch2->iir[1].A1=0;
>>>> ch2->iir[1].A2=0;
>>>> ch2->iir[2].B0=0.056495;
>>>> ch2->iir[2].B1=0.112989;
>>>> ch2->iir[2].B2=0.056495;
>>>> ch2->iir[2].A1=1.22565;
>>>> ch2->iir[2].A2=-0.451634;
>>>>
>>>> On Wed, Jun 21, 2017 at 9:36 PM, Tom Kerekes tk@...
>>>> [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> Please post a screen shot of your Trajectory Planner Settings and your
>>>>> Initialization C Program so we can see your Jog Velocities, Slow Jog
>>>>> %,
>>>>> KFLOP Accelerations and Jerk settings.
>>>>>
>>>>> What Versions were you upgrading from and to?
>>>>>
>>>>> Regards
>>>>>
>>>>> TK
>>>>>
>>>>> On 6/21/2017 9:17 PM, Colin Fera colin.fera@... [DynoMotion]
>>>>> wrote:
>>>>>
>>>>>
>>>>>
>>>>> The jog arrows on kmotion cnc dont work like it did before updating to
>>>>> the latest Beta.
>>>>>
>>>>> Specifically the jog settings are either really slow or perhaps
>>>>> functioning more like a single step command
>>>>>
>>>>> I updated like I have previously done by copying the configuration
>>>>> file
>>>>> across. The single step button that you can set for various step sizes
>>>>> does
>>>>> work
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>>
>